package cn.com.ustudy.course.core.model.entity;

import cn.melonlib.cores.commons.model.entity.StringIdEntity;
import cn.melonlib.graphql.annos.GraphqlType;
import cn.melonlib.graphql.annos.GraphqlTypeDeclare;
import cn.melonlib.graphql.model.enums.GraphqlTypeMode;
import lombok.Data;

@Data
@GraphqlType(declares = {@GraphqlTypeDeclare(name = "College",mode = GraphqlTypeMode.VIEW),@GraphqlTypeDeclare(name = "CollegeInput",mode = GraphqlTypeMode.INPUT)})
public class College extends StringIdEntity {

    private String code;

    private String name;

    private String master;

    private String phoneNo;

    private String address;
}
